package com.sloth.pojo;

/**
 * @author lai
 * @time 2021/10/7 10:06
 */
// 订单详情页面传递的值
public class OrderDetailVO {

    private OrderDetails orderDetails;
    private Address address;
    private Product product;
    private Flow flow;
    private Myorder myorder;

    public OrderDetailVO(){}
    public OrderDetailVO(OrderDetails orderDetails, Address address, Product product, Flow flow, Myorder myorder) {
        this.orderDetails = orderDetails;
        this.address = address;
        this.product = product;
        this.flow = flow;
        this.myorder = myorder;
    }

    public OrderDetails getOrderDetails() {
        return orderDetails;
    }

    public void setOrderDetails(OrderDetails orderDetails) {
        this.orderDetails = orderDetails;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public Flow getFlow() {
        return flow;
    }

    public void setFlow(Flow flow) {
        this.flow = flow;
    }

    public Myorder getMyorder() {
        return myorder;
    }

    public void setMyorder(Myorder myorder) {
        this.myorder = myorder;
    }

    @Override
    public String toString() {
        return "OrderDetailVO{" +
                "orderDetails=" + orderDetails +
                ", address=" + address +
                ", product=" + product +
                ", flow=" + flow +
                ", myorder=" + myorder +
                '}';
    }
}